package spring.examples.schnellkredit.model;

import java.math.BigDecimal;

/**
 * Defines a possible configuration for a new credit.
 */
public class CreditConfiguration {

	/** The min amount. */
	BigDecimal minAmount;

	/** The max amount. */
	BigDecimal maxAmount;

	/** The interest. */
	BigDecimal interest;

	/** The min runtime. */
	BigDecimal minRuntime;

	/** The min duration. */
	BigDecimal minDuration;

	/** The max duration. */
	BigDecimal maxDuration;

	/**
	 * Gets the interest.
	 * 
	 * @return the interest
	 */
	public BigDecimal getInterest() {
		return interest;
	}

	/**
	 * Gets the max amount.
	 * 
	 * @return the max amount
	 */
	public BigDecimal getMaxAmount() {
		return maxAmount;
	}

	/**
	 * Gets the max duration.
	 * 
	 * @return the max duration
	 */
	public BigDecimal getMaxDuration() {
		return maxDuration;
	}

	/**
	 * Gets the min amount.
	 * 
	 * @return the min amount
	 */
	public BigDecimal getMinAmount() {
		return minAmount;
	}

	/**
	 * Gets the min duration.
	 * 
	 * @return the min duration
	 */
	public BigDecimal getMinDuration() {
		return minDuration;
	}

	/**
	 * Gets the min runtime.
	 * 
	 * @return the min runtime
	 */
	public BigDecimal getMinRuntime() {
		return minRuntime;
	}

	/**
	 * Sets the interest.
	 * 
	 * @param interest
	 *            the new interest
	 */
	public void setInterest(BigDecimal interest) {
		this.interest = interest;
	}

	/**
	 * Sets the max amount.
	 * 
	 * @param maxAmount
	 *            the new max amount
	 */
	public void setMaxAmount(BigDecimal maxAmount) {
		this.maxAmount = maxAmount;
	}

	/**
	 * Sets the max duration.
	 * 
	 * @param maxDuration
	 *            the new max duration
	 */
	public void setMaxDuration(BigDecimal maxDuration) {
		this.maxDuration = maxDuration;
	}

	/**
	 * Sets the min amount.
	 * 
	 * @param minAmount
	 *            the new min amount
	 */
	public void setMinAmount(BigDecimal minAmount) {
		this.minAmount = minAmount;
	}

	/**
	 * Sets the min duration.
	 * 
	 * @param minDuration
	 *            the new min duration
	 */
	public void setMinDuration(BigDecimal minDuration) {
		this.minDuration = minDuration;
	}

	/**
	 * Sets the min runtime.
	 * 
	 * @param minRuntime
	 *            the new min runtime
	 */
	public void setMinRuntime(BigDecimal minRuntime) {
		this.minRuntime = minRuntime;
	}
}
